EXECUTE EXECUTABLE

Executes an executable and returns the handle as a DWORD.

  Syntax
Return DWORD=EXECUTE EXECUTABLE(Filename, Commandline, Directory)
Return DWORD=EXECUTE EXECUTABLE(Filename, Commandline, Directory, Priority)
  Parameters
Filename
String
The filename of the executable
Commandline
String
The command line submitted along with the executable
Directory
String
The directory the executable is located
Priority
Integer
The priority to run the executable at, the default is zero and higher priority is one.

  Returns

This value is a positive number between 0 and 4294967295.

  Example Code
id=execute executable("notepad.exe","","")
while executable running(id)=1
if spacekey()=1 then stop executable id
endwhile
  See also

FILE Commands Menu
Index